package com.ls.controller.phonerecord;

import com.ls.controller.orderrecord.model.QueryOrderRecordModel;
import com.ls.controller.phonerecord.model.QueryPhoneRecordModel;
import com.ls.service.IOrderRecordService;
import com.ls.service.IPhoneRecordService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName PhoneRecordAppController
 * @Description app通话记录
 *
 * @author pengyu
 * @since 2024-06-28
 */
@Api(value = "app通话记录", tags = "app通话记录")
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/phoneRecordApp")
public class PhoneRecordAppController {
    private final IPhoneRecordService service;
    /** 通话记录统计 */
    @GetMapping("getList")
    public ResultData getList(QueryPhoneRecordModel model) {
        return service.getList(model);
    }
}
